package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_fiscal_position;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_fiscal_positionSearchContext;

/**
 * 实体[Account_fiscal_position] 服务对象接口
 */

public interface IAccount_fiscal_positionService{
     boolean remove(Integer id) ;
     void createBatch(List<Account_fiscal_position> account_fiscal_positions, int batchSize) ;
     boolean create(Account_fiscal_position account_fiscal_position) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean update(Account_fiscal_position account_fiscal_position) ;
     void updateBatch(List<Account_fiscal_position> account_fiscal_positions, int batchSize) ;
     Account_fiscal_position get(Integer id) ;
     Account_fiscal_position get(Account_fiscal_position account_fiscal_position) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_fiscal_position> searchDefault(Account_fiscal_positionSearchContext context) ;

    /**
     * 根据公司查询
     */
     Page<Account_fiscal_position> selectByOdoo_company(Integer id) ;

    /**
     * 根据国家/地区群组查询
     */
     Page<Account_fiscal_position> selectByOdoo_country_group(Integer id) ;

    /**
     * 根据国家/地区查询
     */
     Page<Account_fiscal_position> selectByOdoo_country(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_fiscal_position> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_fiscal_position> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_fiscal_position convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_position model ,Account_fiscal_position domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_position convert2Model(Account_fiscal_position domain , cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_position model);

}
